<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
	<link rel="stylesheet" href="css/index.css" />
	<script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=hgAUGL7OTvx0FsmMWpowUfKEtKj8kIRb"></script>
	<title>geoJson获取</title>
</head>
<body>
	<div class="select">
		<input id="area" type="text" placeholder="请输入区域" value="河北省石家庄市藁城区"/>
		<span onclick="view()">查看</span>
		<span onclick="view('json')">下载</span>
		<span onclick="view('html')">下载示例</span>
	</div>
	<div id="map"></div>
</body>
<script type="text/javascript" src="js/index.js"></script>
</html>
